package com.LC.Service;

import com.LC.Entity.*;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface SetMealService {
    public List<CheckGroup> findAllCheckGroup();
    public PageResult showMeal(QueryPageBean queryPageBean);
    public void addMeal(SetMeal setMeal, Integer[] checkGroupIds);
    public List<SetMeal> findAllMeal();
    public SetMeal findById(int id);
    public List<PieData> setMealReport();

    public List<Integer> findCheckGroupIdsByMealId(int mealId);
    public void updateMealData(Integer[] checkGroupIds,@RequestParam SetMeal setMeal);

    public void deleteMeal(int mealId);
}
